import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import moment from 'moment'
import '@/plugins/vant'
import '@/assets/css/common.css'
import '@/assets/css/iconfont.css'
import '@/assets/css/rem.css'
import '@/assets/css/rem.less'
Vue.config.productionTip = false

// .vue组件中{{item.add_time | datefmt('YYYY-MM-DD HH:mm:ss'}}
Vue.filter('datefmt', function(input, fmtstring) {
  return moment(input).format(fmtstring)
})

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
